<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Functions: set operand representation</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions: set operand representation<div class="ingroups"><a class="el" href="group___f_f__.html">Flags structure</a> &raquo; <a class="el" href="group___f_f__op.html">Instruction/Data operands</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>The following functions set operand representation. If they are applied to unexplored bytes, they convert them.</p><ul>
<li>no segment : fail</li>
<li>16bit segment : to 16bit word data</li>
<li>32bit segment : to dword <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ea</td><td>linear address </td></tr>
    <tr><td class="paramname">n</td><td>number of operand (0, 1, -1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>
</li>
</ul>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gadf0295e1cf57d6f60f16aa702c096af9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadf0295e1cf57d6f60f16aa702c096af9"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#gadf0295e1cf57d6f60f16aa702c096af9">op_chr</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:gadf0295e1cf57d6f60f16aa702c096af9"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#ga38294c5a91850d2c507fc84d9af2ca80" title="see Bits: instruction operand types ">char_flag()</a> <br /></td></tr>
<tr class="separator:gadf0295e1cf57d6f60f16aa702c096af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7cb5e2ddd05e952cf01441deb704fa20"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7cb5e2ddd05e952cf01441deb704fa20"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#ga7cb5e2ddd05e952cf01441deb704fa20">op_num</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:ga7cb5e2ddd05e952cf01441deb704fa20"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#gaa2b780d9ba5eddf86fcbea6cad730bd0" title="Get number of default base (bin, oct, dec, hex) ">num_flag()</a> <br /></td></tr>
<tr class="separator:ga7cb5e2ddd05e952cf01441deb704fa20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a75b188796c73be1cd02ad829e9c003"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3a75b188796c73be1cd02ad829e9c003"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#ga3a75b188796c73be1cd02ad829e9c003">op_hex</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:ga3a75b188796c73be1cd02ad829e9c003"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#gaa9588490f649c9c36a5c828e530f499f" title="Get number flag of the base, regardless of current processor - better to use num_flag() ...">hex_flag()</a> <br /></td></tr>
<tr class="separator:ga3a75b188796c73be1cd02ad829e9c003"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84fc23f7331f5187eace66897b8e2bfc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga84fc23f7331f5187eace66897b8e2bfc"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#ga84fc23f7331f5187eace66897b8e2bfc">op_dec</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:ga84fc23f7331f5187eace66897b8e2bfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#gae60f6b768a5593307b83626ec5c8457c" title="Get number flag of the base, regardless of current processor - better to use num_flag() ...">dec_flag()</a> <br /></td></tr>
<tr class="separator:ga84fc23f7331f5187eace66897b8e2bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga061587ee57e5454a47d449d1e35dd2b4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga061587ee57e5454a47d449d1e35dd2b4"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#ga061587ee57e5454a47d449d1e35dd2b4">op_oct</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:ga061587ee57e5454a47d449d1e35dd2b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#gae434d330df6563b3dbb3ad646a9d5b76" title="Get number flag of the base, regardless of current processor - better to use num_flag() ...">oct_flag()</a> <br /></td></tr>
<tr class="separator:ga061587ee57e5454a47d449d1e35dd2b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa0dc35c076ef810542901b566545d25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafa0dc35c076ef810542901b566545d25"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#gafa0dc35c076ef810542901b566545d25">op_bin</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:gafa0dc35c076ef810542901b566545d25"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#ga1ad9ae529f7ef25ac444f3d4cfe3d22c" title="Get number flag of the base, regardless of current processor - better to use num_flag() ...">bin_flag()</a> <br /></td></tr>
<tr class="separator:gafa0dc35c076ef810542901b566545d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba581bada7325e01513f001459cf9c35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaba581bada7325e01513f001459cf9c35"></a>
bool <a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___f_f__opfuncs4.html#gaba581bada7325e01513f001459cf9c35">op_flt</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n)</td></tr>
<tr class="memdesc:gaba581bada7325e01513f001459cf9c35"><td class="mdescLeft">&#160;</td><td class="mdescRight">set op type to <a class="el" href="group___f_f__opfuncs3.html#gadfc519a0b4ceea66d380080a7110d033" title="see Bits: instruction operand types ">flt_flag()</a> <br /></td></tr>
<tr class="separator:gaba581bada7325e01513f001459cf9c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
